//
//  MobileAppsTipAppViewController.h
//  MobileAppsTipApp
//
//  Created by jcotter on 10/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Guest.h"
#import "CustomTipUIViewController.h"
#import "StandardTipUIViewController.h"


@interface MobileAppsTipAppViewController : UIViewController <UITextFieldDelegate> {

    UILabel *label_TipAmount;
    UILabel *label_BillTotal;
    UILabel *label_Tax;
    UITextField *textField_Subtotal;
    UITextField *textField_tax;
    UIPickerView *TipSelector;
    UISwitch *sw_includeInTip;
    UISegmentedControl *segControl;

    Guest *m_guest;
    CustomTipUIViewController *m_customtipview;
    StandardTipUIViewController *m_standardtipview;
}

@property (nonatomic, retain) IBOutlet UILabel *label_TipAmount;
@property (nonatomic, retain) IBOutlet UILabel *label_BillTotal;
@property (nonatomic, retain) IBOutlet UILabel *label_Tax;
@property (nonatomic, retain) IBOutlet UITextField *textField_Subtotal;
@property (nonatomic, retain) IBOutlet UITextField *textField_tax;
@property (nonatomic, retain) IBOutlet UISwitch *sw_includeInTip;
@property (nonatomic, retain) IBOutlet UIPickerView *TipSelector;

@property (nonatomic, retain) IBOutlet UISegmentedControl *segControl;

@property (nonatomic, retain) IBOutlet CustomTipUIViewController *m_customtipview;
@property (nonatomic, retain) IBOutlet StandardTipUIViewController *m_standardtipview;
-(void)updateUI;
static const double arrayNo[7] = { 0.0, 5.0, 10.0, 15.0, 20.0, 25.0, 30.0 };


@end
